package com.macro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.pojos.pojo.UiGoodsSkuStock;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface GoodsSkuStockMapper extends BaseMapper<UiGoodsSkuStock> {
    @Select("select id from tb_goods_sku_stock where goods_sn=#{goods_sn}")
    Integer[] queySkuId(@Param("goods_sn") String goodsSn);
}
